import json
fo = open("天气预报json.txt", "r", encoding="utf-8").read()
fo = fo.replace("\n", " ")
fo_json = json.loads(fo)
result = fo_json["result"]["future"]
print("====================苏州市未来三天天气=====================")
for i in range(3):
    print("日期:{0}\t温度:{1}\t天气：{2}\t  风向：{3}\t".format(result[i]['date'],result[i]['temperature'],result[i]['weather'],result[i]['direct']))
